package customer.ejb.eaos;

import java.util.Collection;
import java.util.List;

import javax.ejb.Local;

import common.OperationCallback;
import dtos.ExcursionPersTPDTO;
import dtos.PersonalizedTPDTO;
import dtos.PredefinedTPDTO;
import dtos.UserDTO;

@Local
public interface PersonalizedTPInterface {
	
		//public PersonalizedTPDTO getPersonalizedTP(int id);
		//public TravelPackage newPackage(PriceStrategy s);
		public void savePersonalizedTP(PersonalizedTPDTO p,  OperationCallback oc);
		//public void removePackage(TravelPackage p, OperationCallback oc);
		//public void updatePackage(TravelPackage pkg, OperationCallback oc);
		public PersonalizedTPDTO createPackage(int id, String userid);
		public Collection<PersonalizedTPDTO> getTravels(String username);
		public void confirmTravel(PersonalizedTPDTO selectedTravel);
		public PersonalizedTPDTO getPersonalizedTP(String mailAddress,int invitationCode);
		public Collection<PersonalizedTPDTO> getPersonalizedInvitTP(String username);
		public void savePersonalizedTP(PersonalizedTPDTO travel,String username, OperationCallback messageCallback);
		public void saveExcursionPersTP(ExcursionPersTPDTO e);
		public Collection<PersonalizedTPDTO> getAllPersonalizedTP();
		public void removePersTP(int travelID);


	
}
